package com.gjs.management.pojo.dto.role;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;


@Data
@ApiModel("Role查询对象")
public class SysRoleQueryDTO {

    @Min(value = 1,message = "角色ID必须为整数且不能小于1")
    @ApiModelProperty("角色ID")
    private Long id;

    @ApiModelProperty("角色名称")
    private String roleName;
}
